package com.symc.his.api.doctor;

import com.symc.his.api.base.BaseResponse;
import com.symc.his.api.doctor.dto.req.DiagnosisReqDTO;
import com.symc.his.api.doctor.dto.resp.DiagnosisRespDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: 
 * @CreateTime: 2023/4/21 20:53
 * @Version: 
 * @Since: 1.8
 * @Author: 辛凤文 forward.seen@foxmail.com 
 */
public interface DiagnosisService {

    /**
     * 根据接诊号获取对应的诊断信息
     * @param visitRecordId
     * @return
     */
    @GetMapping("/getDiagnosisByVisitRecordId")
    BaseResponse<DiagnosisRespDTO> getDiagnosisByVisitRecordId(@RequestParam String visitRecordId);

    @PostMapping("/saveDiagnosis")
    BaseResponse<DiagnosisRespDTO> saveDiagnosis(@RequestBody DiagnosisReqDTO diagnosisReqDTO);
}